package br.mikhas.db.model.factory;

import java.util.ArrayList;

import br.mikhas.db.model.Field;
import br.mikhas.db.model.Index;

public class DataBaseIndex extends Index {

	public DataBaseIndex(ArrayList<Field> indexFields) {
		this.fields = indexFields;
	}

	/**
	 * Sets the index length in bytes
	 * 
	 * @param indexLength
	 *            the length in bytes
	 */
	public void setLength(int indexLength) {
		this.length = indexLength;
	}

}
